package composite;

public class MenuTestDrive {
    public static void main(String[] args) {
        MenuComponent pancakeHouseMenu = new Menu("Pancake hose menu", "Breakfast");
        MenuComponent dinnerMenu = new Menu("Dinner MENU", "LUNCH");
        MenuComponent cafeMenu = new Menu("cafe","cafe menu");
        MenuComponent dessertMenu = new Menu("dessert","dessert menu");

        MenuComponent allMenus = new Menu("All Menus", "ALL menus combined");

        allMenus.add(pancakeHouseMenu);
        allMenus.add(dinnerMenu);
        allMenus.add(dessertMenu);
        allMenus.add(cafeMenu);

        dinnerMenu.add(new MenuItem("pasta", "Spagetii", true,3.22));

        dinnerMenu.add(dessertMenu);

        dessertMenu.add(new MenuItem("pork noodle", "noodle", true,3.22));

        Waitress waitress = new Waitress(allMenus);
        waitress.printVegtarianMenu();

    }
}
